﻿using System;

namespace Koonsoft.HYCRM.Model
{
    public class ObjectCache
    {
        /// <summary>
        /// 缓存对象的ID，使用GUID，由程序生成
        /// </summary>
        public string ObjectID { get; set; }

        /// <summary>
        /// 缓存XML数据
        /// </summary>
        public string ObjectData { get; set; }

        /// <summary>
        /// 缓存时间
        /// </summary>
        public DateTime CacheDate { get; set; }

        /// <summary>
        /// 数据操作类型:
        /// 0-新增
        /// 1-修改
        /// </summary>
        public int OperateType { get; set; }
    }
}
